﻿<?xml version="1.0" encoding="utf-8" ?>
<Recipe Name="CreateBusiness" Bound="false" xmlns="http://schemas.microsoft.com/pag/gax-core" >
    <xi:include href="Include/TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
  <Caption>(Re)Create 'Business' (facade)</Caption>
    <HostData>
      <!--<Icon ID="500"/>-->
      <Icon File="img/ProjIcon.ico"/>
      <CommandBar Name="Project" />
      <CommandBar Name="Folder"/>
      <CommandBar Name="Item" />
      <CommandBar Name="Project Add"/>
    </HostData>

    <!-- Arguments -->
    <xi:include href="Include/03/Arguments.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

    <GatheringServiceData>
      <Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
        <Pages>
          <Page>
            <Title>(Re)Creates Entity (with possibly 3 properties) and its searched object</Title>
            <Fields>
              <Field ValueName="EntityName" Label="Class Name" />
              <Field ValueName="Property1" Label="Property (Code) - if provided, GetDomainObjectSignature() returns its value "  />
              <Field ValueName="Property2" Label="Property (Name) - if provided, ToDisplay() return its value "  />
              <Field ValueName="Property3" Label="Property  ... " />
              <Field ValueName="Namespace" Label="Namespace"  />
                <Field ValueName="EntityBase" Label="!ADVANCED: Name of another 'abstract' entity to be used as a base class (except Codelist). Expects that there is some generic abstract Entity (similar to CodeList) providing some base operations"  />

            </Fields>
        </Page>

        <Page Type="ProjectBase.Guidance.CustomWizardPages.EntityTypePage,ProjectBase.Guidance">
            <Title>Standard persitent, CodeList, light ICodeList, Tracked</Title>
        </Page>
        </Pages>
      </Wizard>
    </GatheringServiceData>
    <Actions CoordinatorServiceType="ActionCoordinator" >

      <xi:include href="Include/03/03GenerateIBusiness.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
      <xi:include href="Include/03/03AddIBusiness.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
      <xi:include href="Include/03/03GenerateBusiness.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
      <xi:include href="Include/03/03AddBusiness.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
      <xi:include href="Include/03/03GenerateValidator.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
      <xi:include href="Include/03/03AddValidator.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />  
      
    </Actions>
  </Recipe>
